<script lang="ts" setup>
  import { Gtable } from '../../../component';
  import {defineProps} from 'vue'
  import { ref } from 'vue'
  import type {ConditionConf, GTableConfig} from '../../../utils/declar';

  const props = defineProps({
    queryData: {
      type: Object as PropType<ConditionConf>,
      required: false,
    }
  });

  const tableConfig = ref<GTableConfig>({
    queryData: props.queryData,
    className: "com.gumo.entity.AttrGroup",
    actionApiGet: false,
    isTree: false
  })
</script>

<template>
  <Gtable :config="tableConfig"/>
</template>
